<?php

function get_current_url() {
	$url = "http" . ((!empty($_SERVER['HTTPS'])) ? "s" : "") . 
			"://" . $_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
	return $url;
}

$a_class = (preg_match(
	'/frontend\/$/', 
	get_current_url()))
	? 'home_current' 
	: 'home';

?>
